<?php
namespace exception;

use Exception;

class SystemException extends Exception
{
    public $level = '';
    public $detailMessage = '';
    public $businessCode = '';

    public function __construct($message = "系统错误", $businessCode = 'default', $level = 'error', $code = 100) {  
        parent::__construct($message, $code);  
        $this->businessCode = $businessCode;
        $this->level = $level;
    }
}
